package com.zhongwang.mms.module.half.dao;

import com.zhongwang.mms.gen.entity.TDept;
import com.zhongwang.mms.gen.entity.TWarehouseInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description:
 *
 * @Author: China.sgl
 * @Date: 2019/9/16 09:11
 */
@Repository
public interface BasicDao {

    /**根据库房名查询库房ID*/
    Integer getWarIdByName(String whiName);

    /**获取成品库库房*/
    List<TWarehouseInfo> getWarInfo();

    /**获取部门*/
    List<TDept> getDept();

    /**获取制作件库位*/
    List<TWarehouseInfo> getFinishWarInfo();
}